<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>首页</title>
    <link rel="stylesheet" href="/css/base.css">
    <link rel="stylesheet" href="/css/quoted.css">
    <script src="/js/jquery-1.8.3.min.js"></script>
    <script src="/js/qrcode.js"></script>
</head>
<body>
    <header class="header">
        <div class="header-top">
            <div class="header-top__wrap">
                <div class="logo"><img src="/img/logo.png"></div>
                <div class="logo-txt"><img src="/img/logo-txt.png"></div>
                <div class="contact">
                    <p class="name">咨询热线：</p>
                    <p class="phone">400-026-2021</p>
                </div>
            </div>
        </div>
        <div class="header-menu">
            <div class="header-menu__wrap">
                <div class="header-menu__list">
                    <div class="header-menu__list-cell">
                        <a href="/index.html">首页</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/desc.html">产品介绍</a>
                    </div>
                    <div class="header-menu__list-cell active">
                        <a>产品报价</a>
                        <div class="menu-fixed">
                            <div class="menu-fixed-list">
                                <a href="/quoted_transparent.html" class="menu-fixed-list-cell">透明膜</a>
                                <a href="/quoted_color.html" class="menu-fixed-list-cell">改色膜</a>
                                <a href="/quoted_sun.html" class="menu-fixed-list-cell">太阳膜</a>
                            </div>
                        </div>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/example.html">案例展示</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/service_login.html">服务商</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/quailty.html">质保查询</a>
                    </div>
                </div>
            </div>
        </div>
    </header>
    <div class="quoted">
        <div class="pageNav">
            <a href="/index.html">首页</a>
            <span class="icon">&gt;</span>
            <span class="current">产品报价</span>
        </div>
        <div class="select">
            <div class="select-cell" onclick="toggleModalBrand()">汽车品牌<span class="icon">&gt</span></div>
        </div>
        <div class="content">
            <div class="middle">
                <div class="car" id="car">
                    <div class="car-name">宝马 X4</div>
                    <div class="car-brand">改色膜<span style="margin: 0 10px;">|</span>三摩Q系列</div>
                    <img src="/img/quoted/color/bg.png">
                </div>
            </div>
            <div class="price-detail-new" id="price-detail-new">
                <div class="wrap">
                    <div class="title">局部报价详情</div>
                    <div class="tip">
                        <p>局部价格计算方式： </p>
                        <p>以下比例均为局部对整车价格的比例。如有特殊情况请适 <br> 用类似情况计算。</p>
                    </div>
                    <div class="table">
                        <table>
                            <tbody><tr class="head">
                                <td>分类</td>
                                <td>敝篷跑车</td>
                                <td>跑车</td>
                                <td>三厢/两厢/SUV</td>
                            </tr>
                            <tr>
                                <td>前杠</td>
                                <td>20%</td>
                                <td>20%</td>
                                <td>15%</td>
                            </tr>
                            <tr>
                                <td>后杠</td>
                                <td>20%</td>
                                <td>20%</td>
                                <td> 15%</td>
                            </tr>
                            <tr>
                                <td>引擎盖</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>10%</td>
                            </tr>
                            <tr>
                                <td>顶棚</td>
                                <td>-</td>
                                <td>20%</td>
                                <td>20%</td>
                            </tr>
                            <tr>
                                <td>后备厢</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>10%</td>
                            </tr>
                            <tr>
                                <td>侧/后叶</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>20%</td>
                            </tr>
                            <tr>
                                <td>前门</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>10%</td>
                            </tr>
                            <tr>
                                <td>后门/风柱</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>10%</td>
                            </tr>
                            <tr>
                                <td>前叶</td>
                                <td>10%</td>
                                <td>10%</td>
                                <td>10%</td>
                            </tr>
                        </tbody></table>
                    </div>
                    <div class="close" onclick="closePricDetail()">+</div>
                </div>
            </div>
            <div class="total">
                <div class="total-content">
                    整车:
                    <span class="mark">￥</span>
                    <span class="num" id="total-money">16800</span>
                </div>
            </div>
        </div>
        <!-- 汽车品牌 -->
        <div class="modal-brand color" id="modal-brand" style="display: none;">
            <div class="modal-wrap">
                <div class="modal-wrap__content">
                    <div class="title">选择汽车品牌</div>
                    <div class="modal-content-left">
                        <div class="cars">
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name active">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                            <a class="name">保时捷</a>
                        </div>
                    </div>
                    <div class="modal-content-right">
                        <div class="icon"><img src="/img/example/icon.png"></div>
                        <div class="brand" id="brand">
                            <a class="name">保时捷</a>
                            <a class="name">英菲尼迪 </a>
                            <a class="name">路虎</a>
                            <a class="name active">奔驰</a>
                            <a class="name">斯柯达</a>
                            <a class="name">雷克萨斯 </a>
                            <a class="name">保时捷</a>
                            <a class="name">英菲尼迪 </a>
                            <a class="name">路虎</a>
                            <a class="name">奔驰</a>
                            <a class="name">斯柯达</a>
                            <a class="name">雷克萨斯 </a>
                            <a class="name">保时捷</a>
                            <a class="name">英菲尼迪 </a>
                            <a class="name">路虎</a>
                            <a class="name">奔驰</a>
                            <a class="name">斯柯达</a>
                            <a class="name">雷克萨斯 </a>
                            <a class="name">保时捷</a>
                            <a class="name">英菲尼迪 </a>
                            <a class="name">路虎</a>
                            <a class="name">奔驰</a>
                        </div>
                        <div class="sure" onclick="sureModalBrand()">确认</div>
                    </div>
                    <div class="close" onclick="toggleModalBrand()">+</div>
                </div>
            </div>
        </div>
        <script>

            function toggleModalBrand() {
                var dom = document.getElementById('modal-brand')
                if (dom.style.display == 'block') {
                    dom.style.display = 'none'
                } else {
                    dom.style.display = 'block'
                }
            }

            function sureModalBrand() {
                toggleModalBrand()
            }

            document.getElementById('brand').addEventListener('click', function(e){
                var targetDom = e.target
                if (targetDom == this) return
                var brandName = [].slice.call(this.getElementsByClassName('name'))
                for (var index = 0; index < brandName.length; index++) {
                    var element = brandName[index];
                    element.setAttribute('class', 'name')
                }
                targetDom.setAttribute('class', 'name active')
            })
        </script>
    </div>
    <footer class="footer">
        <div class="footer-wrap">
            <div class="logo-wrap">
                <div class="logo"><img src="/img/logo-w.png"></div>
                <div class="logo-txt"><img src="/img/logo-txt-w.png"></div>
            </div>
            <div class="link-wrap">
                <a href="/quoted_transparent.html" class="link"> 产品报价</a>
                <span class="line">｜</span>
                <a href="/quailty.html" class="link">质保查询</a>
                <div class="share">
                    <span>分享：</span>
                    <span id="share-weibo" class="icon"><img src="/img/icon-share-1.png"></span>
                    <span id="share-wx" class="icon"><img src="/img/icon-share-2.png"></span>
                    <span id="share-qq" class="icon"><img src="/img/icon-share-3.png"></span>
                </div>
                <p class="copyright"> Copyright © 2019-2021 三摩, All Rights Reserved </p>
            </div>
            <div class="qrcode-wrap">
                <div class="img"><img src="/img/qrcode.png" alt=""></div>
                <p>扫一扫关注微信小程序</p>
            </div>
        </div>
        <div class="qrcode-wx" id="qrcode-wx" style="display: none;">
            <div class="title"><span>分享到微信朋友圈</span></div>
            <span class="close">+</span>
            <div id="qrcode-wx-img"></div>
            <div class="tip">打开微信“扫一扫”即可分享至朋友圈</div>
        </div>
        <script src="/js/share.js"></script>
    </footer>
</body>
</html>